#ifndef __PERSIST_STORAGE_H
#define __PERSIST_STORAGE_H

#include <string>
#include <unordered_map>


class PersistStorage
{
protected:
    std::string name;
public:
    PersistStorage(const std::string name) : name(name){};
    virtual ~PersistStorage() = default;

    virtual std::string Read(std::string field) = 0;
    virtual void Write(std::string field, std::string value) = 0;
    virtual void Save() = 0;
    virtual void Load() = 0;
};

#endif